package com.wangxinyuchuan.demo.service.impl;

import com.wangxinyuchuan.demo.model.DiscountVolume;
import com.wangxinyuchuan.demo.service.DiscountVolumeTypeService;
import org.springframework.stereotype.Service;

@Service
public class DiscountVolumeTypeServiceImpl implements DiscountVolumeTypeService {


    @Override
    public DiscountVolume redPaper(String resourceId) {
        return new DiscountVolume(resourceId, "红包优惠卷");
    }

    @Override
    public DiscountVolume shopping(String resourceId) {
        return new DiscountVolume(resourceId, "购物优惠卷");
    }

    @Override
    public DiscountVolume QQVip(String resourceId) {
        return new DiscountVolume(resourceId, "qq会员优惠卷");
    }
}
